package com.xiaoka.ins.corp.api.aics.proxy;

import org.springframework.ws.client.core.support.WebServiceGatewaySupport;

import com.xiaoka.ins.corp.api.aics.wsclient.quotebiz.QueryVehicleInsuranceQuotationCiRequest;
import com.xiaoka.ins.corp.api.aics.wsclient.quotebiz.QueryVehicleInsuranceQuotationCiService;
import com.xiaoka.ins.corp.api.aics.wsclient.quotebiz.QueryVehicleInsuranceQuotationCiServiceResponse;

public class QuoteBizProxy  extends WebServiceGatewaySupport{
	
	public QueryVehicleInsuranceQuotationCiServiceResponse queryCommercial(QueryVehicleInsuranceQuotationCiRequest reqDto) {
		QueryVehicleInsuranceQuotationCiService request = new QueryVehicleInsuranceQuotationCiService();
		request.setRequest(reqDto);
		return (QueryVehicleInsuranceQuotationCiServiceResponse) getWebServiceTemplate().marshalSendAndReceive(request);
	}
}
